package top.arwtec.mcm.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.*;

/**
 * @author liyin
 */
@RestController
@RequestMapping
public class DefaultController {
    @GetMapping(value = {"/", "/index"})
    public String index(){
        return "Welcome to MCM!<br /> <a href=\"/logout\">logout</a>";
    }
}
